Here is some sample output, showing what this initial implementation returns
for FID=001. Hopefully this will do the job, but I'm not completely sure
whether the stylesheet info it returns will confuse the party interface or not (?).
Note that the "<playlist stylesheet= ...>" line is actually a single line of output,
not broken up with newlines as I have done below (to make this thread readable).
Also, I wonder if we should be overriding the tracknr=nn values with the
actual running order index for each entry?
Code:
wget -O- 'http://blueface/?FID=001&EXT=.xml&COUNT=5'
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/default.xsl"?>
<playlist stylesheet="/default.xsl" host="blueface" allow_files="1" allow_commands="1"
type="playlist" tagfid="1" fid="0" length="" year="" options="" genre="" title="" artist=""
source="" comment="" runOrderLen="11421" playListLen="11421">
<items>
<item>
<type>tune</type>
<tagfid>17371</tagfid>
<fid>17370</fid>
<year></year>
<options></options>
<genre>Rock</genre>
<title>SOS</title>
<artist>Abba</artist>
<source>Greatest Hits</source>
<comment>Created by Grip</comment>
<length>3372521</length>
<tracknr>01</tracknr>
<bitrate>vs134</bitrate>
<samplerate>44100</samplerate>
<codec>mp3</codec>
<duration>3:20</duration>
<offset>0</offset>
</item>
<item>
<type>tune</type>
<tagfid>a091</tagfid>
<fid>a090</fid>
<year></year>
<options></options>
<genre>Blues</genre>
<title>Save the Rainforest.. or Else</title>
<artist>Local Anxiety</artist>
<source>Greenpieces</source>
<comment>http://www.mp3.com/</comment>
<length>3635966</length>
<tracknr>10</tracknr>
<bitrate>fs128</bitrate>
<samplerate>44100</samplerate>
<codec>mp3</codec>
<duration>3:47</duration>
<offset>0</offset>
</item>
<item>
<type>tune</type>
<tagfid>10ce1</tagfid>
<fid>10ce0</fid>
<year></year>
<options></options>
<genre>Rock</genre>
<title>Tell Me There's A Heaven</title>
<artist>Chris Rea</artist>
<source>The Road To Hell</source>
<comment></comment>
<length>4988976</length>
<tracknr>10</tracknr>
<bitrate>vs109</bitrate>
<samplerate>44100</samplerate>
<codec>mp3</codec>
<duration>6:03</duration>
<offset>0</offset>
</item>
<item>
<type>tune</type>
<tagfid>7c11</tagfid>
<fid>7c10</fid>
<year></year>
<options></options>
<genre></genre>
<title>Lament</title>
<artist>musicals</artist>
<source>Evita</source>
<comment></comment>
<length>3802204</length>
<tracknr>23</tracknr>
<bitrate>vs127</bitrate>
<samplerate>44100</samplerate>
<codec>mp3</codec>
<duration>3:59</duration>
<offset>0</offset>
</item>
<item>
<type>tune</type>
<tagfid>158c1</tagfid>
<fid>158c0</fid>
<year></year>
<options></options>
<genre>Folk</genre>
<title>The Ballad of Lucy Jordan</title>
<artist>Barra MacNeils</artist>
<source>The Question</source>
<comment></comment>
<length>4457229</length>
<tracknr>03</tracknr>
<bitrate>vs134</bitrate>
<samplerate>44100</samplerate>
<codec>mp3</codec>
<duration>4:24</duration>
<offset>0</offset>
</item>
</items>
</playlist>